<!DOCTYPE html>
<html>
<head>
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="./layui/css/layui.css">

    <!-- 引入 layui.js -->
</head>
<body>

<table class="layui-hide" id="demo" lay-filter="test"></table>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="more">更多 <i class="layui-icon layui-icon-down"></i></a>
</script>

<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree" lay-filter="test">
            <!--layui-nav-itemed默认展开菜单-->
            <li class="layui-nav-item layui-nav-itemed">
                <a class="javascript:;" href="javascript:;">演示</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a href="/category/category">调试预览</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a href="javascript:;">用户管理</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a class="site-demo-active" data-type="tabAdd" data-id="userList" data-url="/user/toUser"
                           data-title="用户列表" href="javascript:;">用户列表</a>
                    </dd>
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">商品管理</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a class="site-demo-active" data-type="tabAdd" data-id="commodityList"
                           data-url="/commodity/toCommodity" data-title="商品列表" href="javascript:;">商品列表</a>
                    </dd>
                    <dd>
                        <a class="site-demo-active" data-type="tabAdd" data-id="category"
                           data-url="/category/toCategory" data-title="商品分类" href="javascript:;">商品分类</a>
                    </dd>
                    <!--                    <dd>-->
                    <!--                        <a class="site-demo-active" data-type="tabAdd" data-id="seek" data-url="/seek/toSeek" data-title="求购列表" href="javascript:;">求购中心</a>-->
                    <!--                    </dd>-->
                </dl>
            </li>
            <li class="layui-nav-item layui-nav-itemed">
                <a href="javascript:;">求购管理</a>
                <dl class="layui-nav-child">
                    <dd>
                        <a class="site-demo-active" data-type="tabAdd" data-id="seek" data-url="/seek/toSeek"
                           data-title="求购列表" href="javascript:;">求购中心</a>
                    </dd>
                </dl>
            </li>

            <!--            <li class="layui-nav-item">-->
            <!--                <a class="site-demo-active" data-type="tabAdd" data-id="inform" data-url="/inform/toInform" data-title="举报信息" href="javascript:;">-->
            <!--                    举报信息-->
            <!--                    <span class="layui-badge" th:if="${informCount > 0}">[[${informCount}]]</span>-->
            <!--                </a>-->
            <!--            </li>-->
        </ul>
    </div>
</div>


</body>
</html>